package com.mjh.partners.service.Impl;

import java.util.List;

import com.mjh.partners.mapper.ShowMeMapper;
import com.mjh.partners.pojo.ShowMe;
import com.mjh.partners.service.ShowMeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

;

@Service
@Transactional
public class ShowMeServiceImpl implements ShowMeService {
  @Autowired
  private ShowMeMapper showMeMapper;
  @Override
  public List<ShowMe> getShowByUserid(int userid) {
    return this.showMeMapper.getShowByUserid(userid);
  }
  @Override
  public boolean addShowMe(ShowMe showme) {
    return this.showMeMapper.addShowMe(showme);
  }
  @Override
  public boolean deleteShowMe(int sid) {
    return this.showMeMapper.deleteShowMe(sid);
  }

}
